define(function(require, factory) {
	'use strict';
	var libraryVM = avalon.define({
		$id: "library"
	 });
	 
	 return (
		 avalon.controller(function($ctrl) {
			 $ctrl.$onRendered = function() {
				 console.log("library on rendered");
			 };
			 $ctrl.$onEnter = function() {
				
				 console.log("library on enter");
			 }
		 })
	 )
});